const Layout = () => import('@/Layout/index.vue')
export default [
  {
    path: '/System',
    name: 'System',
    meta: {
      title: "系统设置",
    },
    redirect: "/organization",
    component: Layout,
    // component: () => import('../view/welcome/index.vue'),
    children: [
      {
        path: '/Menu',
        name: 'Menu',
        meta: {
          title: "菜单维护",
        },
        component: () => import('../../view/System/Menu/index.vue'),
      },
      {
        path: '/Hospital',
        name: 'Hospital',
        meta: {
          title: "医院维护",
        },
        component: () => import('../../view/System/Hospital/index.vue'),
      },
      {
        path: '/Role',
        name: 'Role',
        meta: {
          title: "角色管理",
        },
        component: () => import('../../view/System/Role/index.vue'),
      },
      {
        path: '/Userlist',
        name: 'Userlist',
        meta: {
          title: "用户设置",
        },
        component: () => import('../../view/System/Userlist/index.vue'),
      },
      {
        path: '/organization',
        name: 'organization',
        meta: {
          title: "组织机构设置",
        },
        component: () => import('../../view/System/organization/index.vue'),
      },
    ],
  },
] satisfies Array<RouteConfigsTable>;
